var mainOrigin = 'http://127.0.0.1:8082';
var whiteLists = [
    'http://127.0.0.1:8999',
    'http://127.0.0.1:9999',
    'http://127.0.0.1:8081',
    'http://127.0.0.1:8280',
    'http://127.0.0.1:8098',
    'http://127.0.0.1:7171',
    'http://127.0.0.1:8082',
    'http://127.0.0.1:8781'
];

jQuery(document).ready(function () {
    //解决跨域的问题
    KDatacom.init(mainOrigin,whiteLists);
    //附件上传初始化
    if (typeof KUploaderExt !== 'undefined') {
        KUploaderExt.init('http://127.0.0.1:8781');
    }
});
